//
//  LXListDetai.m
//  喜马拉雅改良版框架
//
//  Created by liuxin on 15/12/22.
//  Copyright © 2015年 蓝鸥科技. All rights reserved.
//

#import "LXListDetai.h"

@implementation LXListDetai
-(void)setValue:(id)value forKey:(NSString *)key{
    [super setValue:value forKey:key];
    NSMutableArray *array = [NSMutableArray array];
    if ([key isEqualToString:@"firstKResults"]) {
        for (NSDictionary *dic in value) {
            LXListFirstKResults *temp = [LXListFirstKResults new];
            [temp setValuesForKeysWithDictionary:dic];
            [array addObject:temp];
        }
        self.firstKResults = [NSMutableArray arrayWithArray:array];
    }
}
-(void)setValue:(id)value forUndefinedKey:(NSString *)key{
    
}
@end
